package com.examiner.service;


import com.examiner.bean.test.TestDB;
import com.examiner.bean.vo.TestDBVO;
import com.examiner.page.QueryInfo;

import java.util.List;

public interface TestDBService {
    void save(TestDBVO testDB) throws Exception;

    void deleteTestDB(Integer testId) throws Exception;

    void updateTestDB(TestDBVO testDBVO) throws Exception;

    void changeTestState(Integer testDBId, Boolean testState);

    List<TestDB> getTestDBList(QueryInfo queryInfo);

    List<TestDB> getTestDBList(QueryInfo queryInfo,Integer id);

    int getTestDBTotal(String query);

    TestDBVO getTestDbById(Integer testId);

    int getTestDBByUserTotal(String query, Integer id);
}
